package dao;

import java.util.List;

import Bean.highlightBean;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class highlightDao extends SqlMapClientDaoSupport {


	public void insert(highlightBean bean) {
		getSqlMapClientTemplate().insert("mInsert", bean);
	}
	
	public highlightBean mFindPw(highlightBean bean) {
		highlightBean member = (highlightBean)getSqlMapClientTemplate().queryForObject("mFindId", bean);
		return member;
	}
	public List<?> Admindetail(highlightBean bean) {
		List<?> result = getSqlMapClientTemplate().queryForList("AdminDetail", bean);
		return result;
	}
	public void Adminupdate(highlightBean bean) {
		getSqlMapClientTemplate().update("Adminupdate", bean);
	}

	public List<?> ADdbform1() {
		List<?> result = getSqlMapClientTemplate().queryForList("AdminDBform1");
		return result;
	}

	public List<?> ADdbform2() {
		List<?> result = getSqlMapClientTemplate().queryForList("AdminDBform2");
		return result;
	}

	public List<?> getTotalCount(highlightBean bean) {
		List<?> result = getSqlMapClientTemplate().queryForList("AdminDBTotalCount", bean);
		return result;
	}

	public List<?> DBSearch(highlightBean bean) {
		List<?> result = getSqlMapClientTemplate().queryForList("AdminDBInfo", bean);
		return result;
	}

	public void AdminDBinsert(highlightBean bean) {
		getSqlMapClientTemplate().insert("AdminDBinsert", bean);
	}

	public void AdminDBdelete(highlightBean bean) {
		getSqlMapClientTemplate().insert("AdminDBdelete", bean);
	}
}
